from parameterized import parameterized
def add_01(x,y):
    return x+y

data=[{"x":10,"y":20,"expect":30},{{"x":20,"y":20,"expect":40}},{"x":40,"y":20,"expect":60}]
def read_data():
    list_data=[]
    for i in data:
        ret=tuple(i.values())
        list_data.append(ret)
    return list_data





class TestAdd(object):
    def test_05(self):
        list_data=read_data()
        print("list_data",list_data)




    def test_add(self):
        ret=add_01(10,20)
        assert  ret==30

    def test_01(self):
        ret=add_01(20,20)
        assert ret==40

    def test_02(self):
        ret = add_01(40, 20)
        assert ret == 60
